<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
	
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<link rel="stylesheet" type="text/css"
	href="${pageContext.request.contextPath}/css/org_manager.css">
<link rel="stylesheet" type="text/css"
	href="${pageContext.request.contextPath}/css/test_page.css">
<script type="text/javascript"
	src="${pageContext.request.contextPath}/gwt/gwt.nocache.js"></script>
<c:if test="${examineeBean.id != 0 }">
	<c:choose>
	<c:when test="${examineeBean.submitted }">
		<script>
			window.viewScore = true;
		</script>
	</c:when>
	<c:otherwise>
		<script>
			window.loadTest = true;
		</script>
	</c:otherwise>
	</c:choose>
</c:if>
<c:if test="${examineeBean.id == 0 }">
	<script>
		window.loadTest = true;
	</script>
</c:if>
<script>
	setTitle("Test Page");
</script>

<script type="text/javascript"
	src="${pageContext.request.contextPath}/js/test_page.js"></script>
<script type="text/javascript">
	$(document).ready(function() {
		setInterval('updateClock()', 1000);
		
	});
</script>
<div class="menu1"><%@include file="/jsputils/menu.jsp"%>
	<div class = "greeting_message">
		<%@include file="/jsputils/greeting.jsp"%>
	</div>
</div>
<div style="visibility: hidden; position: relative;float: left;" id="created_by">${param.u}</div>
<div style="visibility: hidden; position: relative;float: left;" id="created_time">${param.t}</div>
<div style="visibility: hidden; position: relative;float: left;" id="examinee_id">${examineeBean.id}</div>
<div class="menu"></div>
<div class="container">
	<div class="left">
		<div class="test_info">
			<label><b>タイトル：</b><br></label><label class="title"></label>
			<br /> 
			<label><b>サブタイトル：</b><br></label><label class="subtitle"></label>
			<br /> 
			<label><b>スタートタイム：</b><br></label><label class="start_time"></label>
			<br /> 
			<label><b>エンドタイム：</b><br></label><label class="end_time"></label>
			<br /> 
		</div>
		<div id="clock">10:22:11</div>
		<div id="question_select">
			<input type="button" id="prev_btn" value="&lt;" /> 
			<input type="text" id="q_no_txt" value="54" size="5" /> 
			<input type="button" id="next_btn" value="&gt;" /> 
			<br /> <label class="message"></label>
		</div>
		<div class="submit_all" style="text-align: center;">
			<input type="button" id="submit_all" value="Submit All" style=" font-size: 12px; width: 3cm; "/>
		</div>
	</div>
	<div class="main">
		
		<div class="question_info"></div>
	</div>
	<div style="clear: both;"></div>

	<div class="hidden">
		<input class="open_test" type="button" value="Open" />
		<div class="question_content">
			<div>
				質問 <label class="q_no"></label> <label class="content"></label>
			</div>
			<div class="answer_area">

				<input type="button" class="submit_question" value="Submit" />
			</div>
		</div>
		<div class="selection">
			<input type="checkbox" /><label class="content"></label>
		</div>
		<div class="write">
			<textarea name="" maxlength="10" rows="1" cols="50"></textarea>
		</div>
	</div>
</div>